<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:icecore="http://www.icefaces.org/icefaces/core"
	xmlns:ace="http://www.icefaces.org/icefaces/components"
	xmlns:ice="http://www.icesoft.com/icefaces/component">
<h:head>
	<title>#{commonMsgs.PAGE_TITLE}</title>
	<ice:outputStyle href="#{baseMBean.unSecuredOutPutStyleURL}"></ice:outputStyle>
</h:head>
<h:body class="#{baseMBean.securedOutPutBodyClass}">
	<f:loadBundle
		basename="com/avecsys/quotemanager/resources/messages_security"
		var="msgs"></f:loadBundle>
	<f:loadBundle
		basename="com/avecsys/quotemanager/resources/messages_common"
		var="commonMsgs"></f:loadBundle>
	<h:form id="loginFormID">
		<center>
			<div class="loginDivOuter">
				<div class="loginDivInner">
					<div class="logoLogin"></div>
					<div class="loginWidgetsContainer">
						<div class="field_row">
							<ice:outputLabel value="#{msgs.LOGIN_FORM_USER_NAME}"></ice:outputLabel>
							<span class="field"><ice:inputText id="userNameId"
									value="#{loginMBean.userMasterPojo.email}" required="true">
								</ice:inputText></span>
							<span class="fieldMessage"><ice:message styleClass="iceMsgError" for="userNameId"></ice:message></span>
						</div>
						<div class="field_row">
							<ice:outputLabel value="#{msgs.LOGIN_FORM_PASSWORD}"></ice:outputLabel>
							<span class="field"><ice:inputSecret id="passwordId"
									value="#{loginMBean.userMasterPojo.password}" required="true">
								</ice:inputSecret></span>
							<span class="fieldMessage"><ice:message styleClass="iceMsgError" for="passwordId"></ice:message></span>
						</div>
						<div class="field_row">
							<div>
								<ice:panelGrid columns="2">
									<ice:commandButton value="#{msgs.COMMAND_ACTION_SIGNIN}"
										action="#{loginMBean.actionAuthenticate}"
										styleClass="button"></ice:commandButton>
								</ice:panelGrid></div>
						</div>
						<div>
							<div colspan="2"><ui:include
									src="/assets/pages/core/messageBoard.xhtml"></ui:include></div>
						</div>
					</div>
				</div>
			</div>
			<br />
		</center>
	</h:form>
</h:body>
</html>